<template>
</template>

<script>
  import { mapState } from 'vuex'

  export default {
    components: {
      mapState
    },
    computed: {
      ...mapState({
        orgCode: state => state.vux.orgCode
      })
    },
    methods: {
      getDrSchedule () {
        let url = 'https://ydt.xy12345.cn/edot/api/apoRe/getDrSchedule'
        let param = {
          queryType: 0,
          orgCode: this.orgCode,
          deptCode: this.deptCode
        }
        this.$axios.post(url, this.$qs.stringify(param)).then(response => {
          console.log(response.data.data.body)
        })
      }
    },
    mounted () {
      this.getDrSchedule()
    },
    data () {
      return {
        deptCode: this.$route.params.id
      }
    }
  }
</script>

<style scoped>
</style>
